package com.niit.service;

import com.niit.pojo.StudentTable;
import org.apache.hadoop.conf.Configuration;

import java.io.IOException;
import java.util.List;

/**
 * @author 杨铭
 * 2022/2/7,17:48
 */
public interface HbaseService {
    /**
     * 连接Hbase所需的IP和表名
     *
     * @return*/
    /**
     * 添加学生
     * */
    public int add(StudentTable studentTable) throws IOException;
    public void delete(String tableName,StudentTable studentTable) throws IOException;
    public void update(StudentTable studentTable) throws IOException;
    public List<StudentTable> scanByPage(String endRow) throws IOException;
    public  List<StudentTable> displayByindividual(StudentTable studentTable) throws IOException;

}
